﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace NinjaToolbox.SubComponentModule
{
    public class SubComponent<TModel> : SubComponentBase
        where TModel : SubComponentModelBase
    {
        TModel mCacheModel;
        protected TModel Model { get { return mCacheModel ?? (mCacheModel = mModel as TModel); } }

    }
}
